#include "../myOS/userInterface.h"
#include "shell.h"
#include "../myOS/include/myPrintk.h"
#include "../myOS/include/tasktype.h"

void testcase0(void)
{

#if DEBUG_QUEUE_FALGS
	myPrintf(0x08, "\nPress any key to continue debug:\n");
	uart_get_char();
#endif

	myPrintf(0x1, "|           New Task 0          |\n");
	myPrintf(0x1, "|   0 warning(s),  0 error(s)   |\n");
	return;
}

void testcase1(void)
{

#if DEBUG_QUEUE_FALGS
	myPrintf(0x08, "\nPress any key to continue debug:\n");
	uart_get_char();
#endif

	myPrintf(0x2, "|           New Task 1          |\n");
	myPrintf(0x2, "|           Bugs -= 1;          |\n");
	return;
}

void testcase2(void)
{

#if DEBUG_QUEUE_FALGS
	myPrintf(0x08, "\nPress any key to continue debug:\n");
	uart_get_char();
#endif

	myPrintf(0x3, "|           New Task 2          |\n");
	myPrintf(0x3, "|           Bugs -= 2;          |\n");
	return;
}

void shell(void)
{

#if DEBUG_QUEUE_FALGS
	myPrintf(0x08, "\nPress any key to continue debug:\n");
	uart_get_char();
#endif

	myPrintk(0x5, "|           Shell Task          |\n");
	myPrintk(0x5, "|         make  succeed!        |\n");
	startShell();
	return;
}
